/***
 * @company YIMAFU Co.
 * @copyright Copyright @2014, YIMAFU Co., Ltd. All right.
 * @since：JDK1.6
 * @version：1.0
 * @author lifajun
 * @see：
 ***/
package cn.com.qingz.core.exception;

/**
 * @author lifajun
 * @version : 1.00
 * @copyright Copyright @2014, YIMAFU Co., Ltd. All right.
 * @Create Time : 2012-10-31 下午2:25:03
 * @Description :
 * @History：Editor　　　version　　　Time　　　　　Operation　　　　　　　Description*
 * 
 */
public class GenericException extends RuntimeException {

	private static final long serialVersionUID = 2548943619717022268L;
	private String message;

	/**
	 * @param :
	 */
	public GenericException() {
		super();
	}

	/**
	 * @param : string 错误消息
	 */
	public GenericException(String message) {
		super(message);
		this.message = message;
	}

	/**
	 * @param : string 错误消息
	 * @param : throwable 异常
	 */
	public GenericException(String message, Throwable throwable) {
		super(message, throwable);
		this.message = message;
	}

	/**
	 * @param : throwable 异常
	 */
	public GenericException(Throwable throwable) {
		super(throwable);
	}

	
	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

}
